package com.secondHandPlatform.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author team
 * @since 2023-05-18
 */
@Getter
@Setter
public class Notice implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 系统信息主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 用户，外键
     */
    private Integer userId;

    /**
     * 信息内容
     */
    private String context;

    /**
     * 推送信息时间
     */
    private String createAt;

    /**
     * 状态，0未读，1已读
     */
    private Byte status;
}
